package com.ruoyi.bantong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户银行卡对象 bt_user_bankcards
 * 
 * @author laohei
 * @date 2021-02-04
 */
public class BtUserBankcards extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer ubId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 银行卡 */
    @Excel(name = "银行卡")
    private String bankcardNum;

    /** 银行名称 */
    @Excel(name = "银行名称")
    private String bankName;

    /** 开户支行 */
    @Excel(name = "开户支行")
    private String subBank;

    /** 预留手机号 */
    @Excel(name = "预留手机号")
    private String reservePhone;

    public void setUbId(Integer ubId) 
    {
        this.ubId = ubId;
    }

    public Integer getUbId() 
    {
        return ubId;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setBankcardNum(String bankcardNum) 
    {
        this.bankcardNum = bankcardNum;
    }

    public String getBankcardNum() 
    {
        return bankcardNum;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setSubBank(String subBank) 
    {
        this.subBank = subBank;
    }

    public String getSubBank() 
    {
        return subBank;
    }
    public void setReservePhone(String reservePhone) 
    {
        this.reservePhone = reservePhone;
    }

    public String getReservePhone() 
    {
        return reservePhone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ubId", getUbId())
            .append("userId", getUserId())
            .append("bankcardNum", getBankcardNum())
            .append("bankName", getBankName())
            .append("subBank", getSubBank())
            .append("reservePhone", getReservePhone())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
